package mediator.practice_02;

import java.util.HashMap;

/**
 * @author yi qiang
 * @date 2021/6/21 23:41
 */
public class Mediator {

    private HashMap<String,Colleague> colleagueHashMap;


    public void register(String name,Colleague colleague){
        this.colleagueHashMap.put(name,colleague);
    }

    public void getMessage(int stageType,String name){
        Colleague colleague = this.colleagueHashMap.get(name);
    }

}
